package com.boguan.device.domain;

import com.boguan.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * device_type 设备类型表
 *
 * @author chen
 */
public class DeviceType extends BaseEntity {
    /**
     * 设备类型id 主键
     */
    private Long typeId;

    /**
     * 微羽设备 1：否，2：是
     */
    private String weiyu;

    /**
     * 类型名称
     */
    private String name;

    /**
     * 类型图片
     */
    private String icon;

    /**
     * 类型备注
     */
    private String remark;
    /**
     * 创建人
     */
    private String createUserName;

    /**
     * 修改用户
     */
    private String updateUserName;

    /**
     * 产品型号数组 json ["型号1"，型号2]
     */
    private String modelNumber;

    /**
     * 更新人的id
     */
    private Long updateUserid;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT")
    private Date updateTime;

    /**
     * 创建人id
     */
    private Long createUserid;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT")
    private Date createTime;

    private List modelNumberJson;

    private static final long serialVersionUID = 1L;


    public String getWeiyu() {
        return weiyu;
    }

    public void setWeiyu(String weiyu) {
        this.weiyu = weiyu;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getUpdateUserid() {
        return updateUserid;
    }

    public void setUpdateUserid(Long updateUserid) {
        this.updateUserid = updateUserid;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getCreateUserid() {
        return createUserid;
    }

    public void setCreateUserid(Long createUserid) {
        this.createUserid = createUserid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getUpdateUserName() {
        return updateUserName;
    }

    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName;
    }

    public String getModelNumber() {
        return modelNumber;
    }

    public void setModelNumber(String modelNumber) {
        this.modelNumber = modelNumber;
    }

    public List getModelNumberJson() {
        return modelNumberJson;
    }

    public void setModelNumberJson(List modelNumberJson) {
        this.modelNumberJson = modelNumberJson;
    }
}
